﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Mrt.BoardGameUp.Model {
	[MetadataType(typeof(BoardGameValidation))]
	public partial class BoardGame {
	}

	public class BoardGameValidation {
		public int BoardGameId { get; set; }

		[Required(ErrorMessage = "User is a required field.")]
		public int UserId { get; set; }

		[Required(ErrorMessage = "Name is a required field.")]
		public string Name { get; set; }

		public bool GroupWinsCollectively { get; set; }

		public string CreatedBy { get; set; }

		public System.DateTime CreateDate { get; set; }

		public string ModifiedBy { get; set; }

		public System.DateTime ModifyDate { get; set; }
	}
}
